package com.yunxi.sto.pojo;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yunxi.core.web.DateJsonDeserializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 库存盘点
 * </p>
 *
 * @author caoYong
 * @since 2019-08-16
 */
@Data
@ApiModel(value="StoStorageCheckVO 对象", description="库存盘点")
public class StoStorageCheckVO implements Serializable {

    @ApiModelProperty(value = "主键ID")
    private String storageCheckId;

    @ApiModelProperty(value = "渠道商代码")
    private String partnerCode;

    @ApiModelProperty(value = "盘点计划名称")
    private String checkName;

    @ApiModelProperty(value = "VIN码")
    private String vin;

    @ApiModelProperty(value = "盘点状态(Storage_CheckStatus,1未开始,2盘点完成,3删除)")
    private Integer checkStatus;

    @ApiModelProperty(value = "是否在库(1是,0否)")
    private Integer isInStorage;

    @ApiModelProperty(value = "车辆状态(Storage_VehicleStatus,1正常,2异常)")
    private Integer vehicleStatus;

    @ApiModelProperty(value = "是否在指定库位(1是,0否)")
    private Integer storageLocationStatus;

    @ApiModelProperty(value = "盘点人")
    private String checker;

    @ApiModelProperty(value = "盘点人姓名")
    private String checkerName;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "计划盘点日期")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date planCheckDate;

    @ApiModelProperty(value = "计划盘点日期起")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date planCheckDateStart;

    @ApiModelProperty(value = "计划盘点日期止")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date planCheckDateEnd;

    @ApiModelProperty(value = "完成盘点日期")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date completeCheckDate;

    @ApiModelProperty(value = "完成盘点日期起")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date completeCheckDateStart;

    @ApiModelProperty(value = "完成盘点日期止")
    @JsonDeserialize(using = DateJsonDeserializer.class)
    private Date completeCheckDateEnd;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "是否有钥匙(1是,0否)")
    private Integer isKeyIn;

    @ApiModelProperty(value = "盘点方法")
    private String checkMethod;

    @ApiModelProperty(value = "盘点范围")
    private String checkScope;

    @ApiModelProperty(value = "盘点区域")
    private String checkArea;

}
